testsuite: Handle duplicate enum values
authorMatthias Clasen <mclasen@redhat.com>
Mon, 8 May 2023 11:00:34 +0000 (07:00 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 8 May 2023 11:00:34 +0000 (07:00 -0400)
commit58a5de6f5d8d671649302c983c46d9a1e315b603
tree808d9220a1163c6b581a656b919afa4ccdd161cc
parent082ba6d7c847de3d046d4379d58ce016617eaada
testsuite: Handle duplicate enum values

Our notify tests would fall over if there was
a duplicate enum value (within the first 10 values).

Make it handle that, by skipping the duplicate value.
testsuite/gtk/notify.c